package com.aizuda.boot.modules.business.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName ContractWorkflowModuleEntity
 * @Version 1.0
 * @Date 2025/6/10 14:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "合同字段模块关联")
@TableName("contract_workflow_module")
public class ContractWorkflowModuleEntity {


    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "合同流程id")
    private Long workflowId;

    @Schema(description = "合同字段模块id")
    private Integer moduleId;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "更新时间")
    private Date updatedAt;
}
